<template>
    <div v-for="(it,num) in list" :key="num">
        {{ num }}::{{ it }}
    </div>
</template>

<script setup>
    import { ref } from 'vue';
    const list = ref(['hehe','haha','heihei']);
</script>